package com.mibotiquin.alarmas;

public class IdMed {

	private static IdMed idMed = null;
	private int id;
	private String med;

	public static IdMed getInstance() {
	
		if (idMed == null)
			idMed = new IdMed();
		return idMed;
		
	}
	
	public void setValues(int id, String med) {
		
		this.id = id;
		this.med = med;
		
	}

	public String getMedName() {
		idMed = null;
		return med;
	}
	
}
